Python (programming language)
part 9/106 · 174.3 KB total
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Python uses dynamic typing and a combination of reference counting and a cycle-detecting garbage collector for memory management.cite-ref-reference-counting-64-0[62] It uses dynamic name resolution (late binding), which binds method and variable names during program execution.
Python's design offers some support for functional programming in the Lisp tradition. It has filter,mapandreduce functions; list comprehensions, dictionaries, sets, and generator expressions.cite-ref-autont-59-65-0[63] The standard library has two modules (itertools and functools) that implement functional tools borrowed from Haskell and Standard ML.cite-ref-autont-18-66-0[64]
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────